<?php  defined('OSTSCPINC') or die('Ruta Invalida'); 

$sql ="SELECT valor as valor
        FROM ".TICKET_PARAMETROS_TABLE." a
        WHERE a.id = 'PAHT_LOGO_EMPRESA'"; 
if(($res=db_query($sql)) && db_num_rows($res)){
    $row_aux=db_fetch_array($res);
    $PAHT_LOGO_EMPRESA = $row_aux['valor'];
}
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>osTicket:: Inicio de sesi&oacute;n</title>
<link rel="stylesheet" href="css/login.css" type="text/css" />
<meta name="robots" content="noindex" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
</head>
<body id="loginBody">
<div id="loginBox">
	<object id="logo" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="322" height="72" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="<?php echo $PAHT_LOGO_EMPRESA;?>" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" /> <embed type="application/x-shockwave-flash" width="322" height="72" src="<?php echo $PAHT_LOGO_EMPRESA;?>" quality="high" wmode="transparent" name="logo" allowscriptaccess="sameDomain" allowfullscreen="false" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle"></embed>
</object>
	<h1><?php echo $msg?></h1>
	<br />
	<form action="login.php" method="post">
	<input type="hidden" name=do value="scplogin" />
    <table border=0 align="center">
        <tr><td width=100px align="right"><b>Usuario</b>:</td><td><input type="text" name="username" id="name" value="" /></td></tr>
        <tr><td align="right"><b>Contrase&ntilde;a</b>:</td><td><input type="password" name="passwd" id="pass" /></td></tr>
        <tr><td>&nbsp;</td><td>&nbsp;&nbsp;<input class="submit" type="submit" name="submit" value="Entrar" /></td></tr>
    </table>
</form>
</div>
<div id="copyRights">&copy; 2013 <a href='http://www.vsline.com' target="_blank">Vsline.com</a></div>
</body>
</html>
